package com.silentfish.backend.zposMerchantEmployee.controller;

import com.silentfish.backend.zposMerchantEmployee.mapper.ZposMerchantEmployeeMapper;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.silentfish.backend.zposMerchantEmployee.model.ZposMerchantEmployee;

import javax.annotation.Resource;

@Controller
public class ZposMerchantEmployeeController {

//    @Resource
//    private ZposMerchantEmployeeMapper zposMerchantEmployeeMapper;

    @RequestMapping("/getnum")
    public @ResponseBody String hello(){
//        return String.valueOf(ZposMerchantEmployee.TYPE_WAR_PUR);
        return String.valueOf(
                ZposMerchantEmployee.EmployeeType.TYPE_ONE
                + ZposMerchantEmployee.TYPE_TWO
                + ZposMerchantEmployee.EmployeeTypeEnum.TYPE_THREE.getNum());
    }
}
